package com.yhp.bean;

//bean:属性，封装方法，无参构造，全参构造
//​ 表名=类名 ，列名=属性名
public class Users {
    private Integer userid;
    private String loginname;
    private Integer password;
    private String realname;

    public Users() {
    }

    public Users(Integer userid, String loginname, Integer password, String realname) {
        this.userid = userid;
        this.loginname = loginname;
        this.password = password;
        this.realname = realname;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getLoginname() {
        return loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname;
    }

    public Integer getPassword() {
        return password;
    }

    public void setPassword(Integer password) {
        this.password = password;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }
}
